package Mouse;

import java.util.Arrays;

public class ArrayCopy {

	public static void main(String[] args) {

		int [] a ={2,3,6,4,6,9};
		int [] b = new int[]{1,3,5,6,9,7};
		System.arraycopy(a, 0, b, 0, 6);
		System.out.println(Arrays.toString(b));
		
	}

}
